使用autofac在mvc5下依賴注入 把遇到的問題匯總一下: 一、安裝mvc5版本 命令:pm> Install-Package Autofac 結果安裝的Autofac.Integration.Mvc(版本為4.0),所引用 ...